package com.ge.healthcare.autosc.dao.impl;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate3.HibernateTemplate;

import com.ge.healthcare.autosc.dao.intf.HstProdigasScheduleDAO;
import com.ge.healthcare.autosc.model.ActRequest;
import com.ge.healthcare.autosc.model.HstProdigasSchedule;

/*
 *
 * Copyright (C) 2011 General Electric Company. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of the
 * General Electric Company (GE). You shall not disclose this software and
 * shall use it only in accordance with the terms of the license agreement
 * you entered into with GE.
 *
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * PURPOSE, OR NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES
 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING
 * THIS SOFTWARE OR ITS DERIVATIVES. 
 */

public class HstProdigasScheduleDAOImpl implements HstProdigasScheduleDAO {
	private final Logger logger = Logger.getLogger(HstProdigasScheduleDAOImpl.class);
	@Autowired
	private HibernateTemplate hibernateTemplate;
	
	protected Class<ActRequest> getDataClass() {
		return ActRequest.class;
	}

	@Override
	public void saveOrUpdate(HstProdigasSchedule hstProdigasSchedule) {
		hibernateTemplate.saveOrUpdate(hstProdigasSchedule);
		
	}

	
}
